home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form wndTD
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Double
- Caption = "Dialog"
- ClientHeight = 3990
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 5235
- Height = 4395
- Left = 1035
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3990
- ScaleWidth = 5235
- Top = 1140
- Width = 5355
- Begin PictureBox Picture1
- BackColor = &H00C0C0C0&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3735
- Index = 1
- Left = 60
- ScaleHeight = 3705
- ScaleWidth = 5085
- TabIndex = 4
- Tag = "Dialog5"
- Top = 180
- Width = 5115
- End
- Begin PictureBox Picture1
- BackColor = &H00C0C0C0&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3735
- Index = 4
- Left = 60
- ScaleHeight = 3705
- ScaleWidth = 5085
- TabIndex = 3
- Tag = "Dialog4"
- Top = 180
- Width = 5115
- End
- Begin PictureBox Picture1
- BackColor = &H00C0C0C0&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3735
- Index = 0
- Left = 60
- ScaleHeight = 3705
- ScaleWidth = 5085
- TabIndex = 0
- Tag = "Dialog1"
- Top = 180
- Width = 5115
- End
- Begin PictureBox Picture1
- BackColor = &H00C0C0C0&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3735
- Index = 2
- Left = 60
- ScaleHeight = 3705
- ScaleWidth = 5085
- TabIndex = 1
- Tag = "Dialog2"
- Top = 180
- Width = 5115
- End
- Begin PictureBox Picture1
- BackColor = &H00C0C0C0&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3735
- Index = 3
- Left = 60
- ScaleHeight = 3705
- ScaleWidth = 5085
- TabIndex = 2
- Tag = "Dialog3"
- Top = 180
- Width = 5115
- End
- Option Explicit
- Sub Form_Activate ()
- Dim oSM As Integer, oDW As Integer
- If Me.BorderStyle = 3 Or Me.BorderStyle = 1 Or Me.BorderStyle = 0 Then
- oSM = Me.ScaleMode
- oDW = Me.DrawWidth
- Me.ScaleMode = 3
- Me.DrawWidth = 1
- If Not Me.AutoRedraw Then Me.AutoRedraw = True
- Me.Line (0, 0)-(0, Me.ScaleHeight), RGB(255, 255, 255)
- Me.Line (0, 0)-(Me.ScaleWidth, 0), RGB(255, 255, 255)
- Me.Line (0, Me.ScaleHeight - 1)-(Me.ScaleWidth, Me.ScaleHeight - 1), RGB(128, 128, 128)
- Me.Line (Me.ScaleWidth - 1, 0)-(Me.ScaleWidth - 1, Me.ScaleHeight + 1), RGB(128, 128, 128)
- Me.ScaleMode = oSM
- Me.DrawWidth = oDW
- End If
- End Sub
- Sub Form_Load ()
- TabsPaint Me
- End Sub
- Sub Picture1_MouseDown (Index As Integer, Button As Integer, Shift As Integer, x As Single, y As Single)
- TabsClick Picture1(Index), x, y
- End Sub
-